


def copyfile():
    buffersize = 50000000
    infile = open('D:\\access_log.18')
    outfile = open('D:\\format18.txt', "w") 
    buffers = infile.read(buffersize)
    count =0
    outfile.write(buffers)
    buffers = infile.read(buffersize)
    
    print('Done')
    infile.close()
    outfile.close()
    
if __name__ == "__main__": copyfile()
